﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="SobFS.Web.backend.manage.functionmenu.Edit" %>

<%@ Register Assembly="SobFS.Common" Namespace="SobFS.Common.UserControl" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../../javascript/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
    <link href="../../css/default.css" rel="stylesheet" type="text/css" />
    <script src="../../../javascript/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../../../javascript/jquery/jquery.validate.min.js" type="text/javascript"></script>
    <script src="../../../javascript/jquery/messages_cn.js" type="text/javascript"></script>
    <script src="../../../javascript/ui/js/ligerBuild.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../javascript/function.js"></script>
    <script type="text/javascript">
        /*表单数据验证*/
        $(function () {
            $("#form1").validate({
                errorPlacement: function (lable, element) {
                    element.ligerTip({ content: lable.html(), appendIdTo: lable });
                },
                success: function (lable) {
                    lable.ligerHideTip();
                },               
            });
        });
    </script>
</head>
<body class="mainbody">
    <form id="form1" runat="server">
    <div class="navigation">
        <a href="javascript:history.go(-1);" class="back">后退</a>首页 &gt; 控制面板 &gt; 功能菜单管理</div>
    <div id="contentTab">
        <ul class="tab_nav">
            <li class="selected"><a onclick="tabs('#contentTab',0);" href="javascript:;">修改功能菜单信息</a></li>
        </ul>
        <div class="tab_con" style="display: block;">
            <table class="form_table">
                <col width="180px">
                <col>
                <tbody>
                    <tr>
                        <th>
                            菜单类型：
                        </th>
                        <td>
                            <asp:DropDownList ID="ddlMenuType" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlMenuType_SelectedIndexChanged">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            上级菜单：
                        </th>
                        <td>
                            <cc1:DropDownTree ID="ddtParent" runat="server">
                            </cc1:DropDownTree>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            状态：
                        </th>
                        <td>
                            <asp:RadioButtonList ID="rblIsEnabled" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                <asp:ListItem Selected="True" Value="1">启用 </asp:ListItem>
                                <asp:ListItem Value="0">禁用 </asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            编码：
                        </th>
                        <td>
                            <asp:TextBox ID="txtCode" runat="server" CssClass="txtInput normal required" minlength="2" MaxLength="100"></asp:TextBox><label>*</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            名称：
                        </th>
                        <td>
                            <asp:TextBox ID="txtName" runat="server" CssClass="txtInput normal required" minlength="2" MaxLength="100"></asp:TextBox><label>*</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            排列序号：
                        </th>
                        <td>
                            <asp:TextBox ID="txtSort" runat="server" CssClass="txtInput normal required number"></asp:TextBox><label>*只能输入数字</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            菜单地址：
                        </th>
                        <td>
                            <asp:TextBox ID="txtURL" runat="server" CssClass="txtInput normal required" MaxLength="100"></asp:TextBox><label>*</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            描述信息：
                        </th>
                        <td>
                            <asp:TextBox ID="txtDescription" TextMode="MultiLine" runat="server" CssClass="txtInputDescription normal" MaxLength="255" />
                        </td>
                    </tr>
                    <tr>
                        <th>
                        </th>
                        <td>
                            <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="btnSubmit" OnClick="btnSubmit_Click" />
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
